package edu.csl.study.springboot.core.dcode.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户代码表
 * </p>
 *
 * @author 自动生成代码
 * @since 2021-09-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("prpduser")
@ApiModel(value="Prpduser对象", description="用户代码表")
public class Prpduser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户代码")
    private String usercode;

    @ApiModelProperty(value = "用户名称")
    private String username;

    @ApiModelProperty(value = "用户英文名称")
    private String userename;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "密码设置时间")
    @TableField("password_start_Time")
    private LocalDateTime passwordStartTime;

    @ApiModelProperty(value = "密码过期时间")
    @TableField("password_expire_Time")
    private LocalDateTime passwordExpireTime;

    @ApiModelProperty(value = "头像路径")
    private String avatar;

    @ApiModelProperty(value = "身份证号码")
    private String identifynumber;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "手机")
    private String mobile;

    @ApiModelProperty(value = "职业")
    private String vocational;

    @ApiModelProperty(value = "地址")
    private String address;

    @ApiModelProperty(value = "邮编")
    private String postcode;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "有效标志")
    private String validstatus;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdDate;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedDate;


}
